package com.itfenghuang.test;

public class A00_共享资源 {
    public static boolean flag=false;
    public static int num=10;
    public static Object obj=new Object();

    public static void main(String[] args) {
        A00_消费者 a = new A00_消费者();
        A00_生产者 b = new A00_生产者();
        a.start();
        b.start();
    }

}
